package com.teamcenter.rac.massupdate.databinding;

import org.eclipse.core.databinding.observable.value.WritableValue;
import org.eclipse.swt.widgets.Composite;

public class UpdateLayoutObservable
  extends WritableValue
{
  private Composite m_compositeToLayout;
  
  public void doSetValue(Object paramObject)
  {
    super.doSetValue(paramObject);
    if (this.m_compositeToLayout != null) {
      this.m_compositeToLayout.layout(true);
    }
  }
  
  public void setCompositeToUpdate(Composite paramComposite)
  {
    this.m_compositeToLayout = paramComposite;
  }
}
